<template>
    <van-grid :column-num="5">
        <van-grid-item
                v-for="value in 5"
                :key="value"
                icon="photo-o"
                text="文字"
        />
    </van-grid>
</template>

<script>
  import Vue from 'vue';
  import { Grid, GridItem } from 'vant';

  Vue.use(Grid).use(GridItem);
  export default {
    name: "Grid"
  }
</script>

<style scoped>
    .van-grid{
        margin-top: 3px;
        margin-bottom: 3px;
    }
</style>
